87e0864eed66c45010a5b8c0a9ca6c4cd6f2f603,sample/src/main/java/com/stephentuso/welcomeexample/BackExitWelcomeActivity.java,BackExitWelcomeActivity,configuration,#,14

Before Change


    @Override
    protected WelcomeScreenConfiguration configuration() {
        return new WelcomeScreenBuilder(this)
                .theme(R.style.SampleWelcomeScreenTheme)
                .basicPage(R.drawable.photo, "No back navigation", "By default, the back button can be used to go back a page")
                .basicPage(R.drawable.photo, "Back will exit", "Pressing back on this page will close the activity, rather than going to the previous page")
                .backButtonNavigatesPages(false)
                .swipeToDismiss(true)

After Change


    @Override
    protected WelcomeScreenConfiguration configuration() {
        return new WelcomeScreenBuilder(this)
                .theme(R.style.GeneralWelcomeScreenTheme)
                .defaultTitleTypefacePath("Roboto-Bold.ttf")
                .defaultHeaderTypefacePath("Roboto-Bold.ttf")
                .basicPage(R.drawable.photo, "No back navigation", "By default, the back button can be used to go back a page")
                .basicPage(R.drawable.ic_back_white, "Back will exit", "Pressing back on this page will close the activity, rather than going to the previous page")
                .backButtonNavigatesPages(false)
                .swipeToDismiss(true)